package com.xxgc.eow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxgc.eow.entity.Choosecontent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChoosecontentMapper extends BaseMapper<Choosecontent> {
    int insert(Choosecontent row);

    List<Choosecontent> selectAllByChooseId(Integer chooseId);

    int updateByTopicId(@Param("choosecontent") Choosecontent choosecontent,@Param("index") Integer index);
}